package org.dppc.contact.m8;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("AddressElement")
public class AddressElement {
	@XStreamAlias("Street")
	@XStreamAsAttribute
	private String street;
	
	@XStreamAlias("City")
	@XStreamAsAttribute
	private String city;
	
	@XStreamAlias("Provice")
	@XStreamAsAttribute
	private String provice;
	
	@XStreamAlias("Country")
	@XStreamAsAttribute
	private String country;
	
	@XStreamAlias("PostalCode")
	@XStreamAsAttribute
	private String postalCode;
	
	@XStreamAlias("Type")
	@XStreamAsAttribute
	private int  type;

	public AddressElement(String street, String city, String provice,
			String country, String postalCode, int type) {
		super();
		this.street = street;
		this.city = city;
		this.provice = provice;
		this.country = country;
		this.postalCode = postalCode;
		this.type = type;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvice() {
		return provice;
	}

	public void setProvice(String provice) {
		this.provice = provice;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		StringBuilder result = new StringBuilder();
		
		return result.toString();
	}
	
	
	
}
